<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script >
    //运算符
    let number=0;
    console.log(number++);//0
    console.log(++number);//2
    console.log(number);//2
    //后缀一元运算符
    //1.返回0
    //2.增加值 1
    // 前缀一元运算符
    // 1.增加值  现在是2
    // 2.返回值   2
    </script>
</body>
</html>